package com.adams.custom.page.core.service;

import com.adams.core.exception.BusinessException;
import com.adams.custom.page.core.BusinessDealFlowContext;

/**
 * 
 * File Name : BusinessDealFlowEngineService.java
 * 
 * @Description : 业务处理流调用引擎服务类
 */
public interface BusinessDealFlowEngineService
{

	/**
	 * Description : 引擎运行
	 * 
	 * @param context
	 * @return
	 * @throws Exception
	 * 
	 */
	public Object run(BusinessDealFlowContext context) throws BusinessException;

	/**
	 * Description : 缓存同步
	 * 
	 * @throws Exception
	 * 
	 */
	public void synchronizationCache() throws BusinessException;
}